package com.pug.ksd.filter;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * Author: lqm
 * create: 2022/5/4 21:19
 * Lover: lqx
 *
 * @see
 */
@Component
public class TokenFilterFactory extends AbstractGatewayFilterFactory<Object> {
    @Override
    public GatewayFilter apply(Object config) {
        return new TokenFilter();
    }
}
